package com.ncbee.base.model.vo;

import com.ncbee.base.model.entity.Resource;
import com.ncbee.base.model.entity.User;
import com.ncbee.base.model.vo.tableVo.ResourceVo;

import java.io.Serializable;
import java.util.List;

/**
 * @Author fengzirong
 * @DESC
 * @Date 2018/12/9 20:57
 **/
public class UserInfo extends User implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 当前用户拥有的所有资源
     */
    private List<Resource> resourceList;
    /**
     * 当前用户所用有的菜单资源(树形结构)
     */
    private List<ResourceVo> menuList;

    public List<Resource> getResourceList() {
        return resourceList;
    }

    public void setResourceList(List<Resource> resourceList) {
        this.resourceList = resourceList;
    }

    public List<ResourceVo> getMenuList() {
        return menuList;
    }

    public void setMenuList(List<ResourceVo> menuList) {
        this.menuList = menuList;
    }
}
